﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework;

namespace SceneManager
{
    public class ComplexObject : DrawableObject
    {
        public List<DrawableObject> Objects { get; set; }

        public ComplexObject(Game game) : base(game)
        {

        }

        public override void Draw(Camera camera, GameTime gameTime)
        {
            foreach (DrawableObject o in Objects)
                o.Draw(camera, gameTime);
        }
    }
}
